<!DOCTYPE html>
<html>
<head>
    <script src="/html/js/vue.js"></script>
    <script src="/html/js/axios.min.js"></script>
</head>
<body>
    <div id="app">

        <li v-for="ch in allch">
            <a v-bind:chid="ch.ID" href="javascript:;" v-on:click="getNewsData(ch.ID)">{{ ch.Title }}</a>
        </li>

        <div class="news">
                <li v-for="news in newslist">
                        <a v-bind:href="news.Url" target="_blank">{{ news.Title }}</a>
                        <span style="margin-left:20px">{{ news.Author }}</span>
                        <span style="margin-left:20px">{{ news.Time }}</span>
                </li>

        </div>
    </div>

<script src="/html/js/app.js"></script>
</body>
</html>